<template>
	<view class="form-item">
		<view class="label color_333">{{label}}</view>
		<view class="value color_999">{{value}}</view>
	</view>
</template>
<script>
	export default {
		name: 'FormItem',
		props: {
			label: {
				type: String,
				required: true
			},
			value: {
				type: [String, Number]
			}
		},
	}
</script>
<style scoped lang="scss">
	.form-item {
		display: flex;
		align-items: center;
		font-size: 24rpx;
		margin-bottom: 18rpx;

		.label {
			font-weight: bold;
			margin-right: 10rpx;
		}

		.value {}
	}
</style>